﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Web;
using Module.Core.EntitiesInfo;

namespace Module.Core.BusinessLogic
{
    public class WebUserPageMember : System.Web.UI.Page
    {
        private string idMember;
        public WebUserPageMember()
        {

            string userName = string.Empty;
            userName = MemberBL.GetValue();
            MemberInfo info = MemberBL.SelectProFile(userName);
            if (info != null)
            {
                HttpCookie Cookie_Idmember = new HttpCookie("UserName", info.IdMember.ToString());
                idMember = Cookie_Idmember.ToString();
            }
        }     
                 
        public string IdMember
        {
            get { return idMember; }
        }
    }
}
